﻿@{
    ViewBag.Title = "补录设置";
}

@section styles{
    <style type="text/css">
        .avatar-uploader .el-upload {
            border: 1px dashed #d9d9d9;
            border-radius: 6px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

            .avatar-uploader .el-upload:hover {
                border-color: #409EFF;
            }

        .avatar-uploader-icon {
            font-size: 28px;
            color: #8c939d;
            width: 400px;
            height: 300px;
            line-height: 300px;
            text-align: center;
        }

        .avatar {
            width: 400px;
            height: 300px;
            display: block;
        }
    </style>
}

<div id="divSupplementSetting" v-cloak class="content">
    <div class="addPage" style="height:600px;">
        <h3>
            <span>补录设置</span>
        </h3>
        <el-form v-bind:model="form" v-bind:rules="rules" ref="form" label-width="120px" class="demo-ruleForm">
            <el-form-item label="总名额" prop="totalCount">
                <div class="rightCon">
                    <el-input-number style="width:100%;" type="number" v-bind:min="1" v-model="form.totalCount" placeholder="请输入生成多少个班级"></<el-input-number>
                </div>
            </el-form-item>
            <el-form-item label="已申请数量" prop="applyCount">
                <div class="rightCon">
                    <el-input-number style="width:100%;" type="number" v-bind:min="0" v-model="form.applyCount" placeholder="请输入生成多少个班级"></<el-input-number>
                </div>
            </el-form-item>
            <el-form-item label="截止时间" prop="endTime">
                <div class="rightCon">
                    <el-date-picker v-model="form.endTime" style="width:100%" type="date" size="small" format="yyyy-MM-dd"
                                    value-format="yyyy-MM-dd" placeholder="选择日期"></el-date-picker>
                </div>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" v-on:click="saveSupplementSetting">保存</el-button>
            </el-form-item>
        </el-form>
    </div>
</div>

@section scripts
    {
    <script type="text/javascript">
        var sptSet = @Html.Raw(ViewBag.sptSet);
    </script>
    <script src="~/js/modules/setting/supplementSet.js" asp-append-version="true"></script>
}
